package com.im.constant;

/**
 * @Description: redis常量
 * @Version: 1.0
 * @Author: 杰
 * @Project :link-IM
 * @DateTime: 2025-02-01 15:20
 **/
public interface RedisConstant {
    //token前缀
    String TOKEN_PREFIX = "token:";
    //用户session前缀 "im:session:user:"
    String SESSION_USER_PREFIX = "im:session:user:";
    //同一个会话内的消息id生成 im:session:message:id:
    String SESSION_MESSAGE_ID_PREFIX = "im:session:message:id:";
}
